package com.itheima.vmmysql.Service.Impl;

import com.itheima.vmmysql.Mapper.TableDataMapper;
import com.itheima.vmmysql.Service.TableDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TableDataImpl implements TableDataService {
    @Autowired
    private TableDataMapper tableDataMapper;
    @Override
    public List<String> getTableData(String tableName) {
        return tableDataMapper.getTableData(tableName);
    }
}
